package com.usian.order.fegin;

import com.usian.jyzx.model.entity.user.UserAddress;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @TODO:
 * @Author:baimu
 * @Date:2024 07 15 15 16
 **/
@FeignClient("user-service")
public interface UserFegin {

    @GetMapping("/api/user/userAddress/auth/findUserAddressById/{addressId}")
    public UserAddress findUserAddressById(@PathVariable("addressId") Long addressId);
}
